package com.amigo.online.provider.user.model.entity;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

/**
 * 用户黑名单实体类
 *
 * @author luchen
 */
@Table(name = "user_black_tbl")
@Alias(value = "black")
public class Black implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = -4969419720750230131L;


    @Column(name = "id")
    private Long id;
    /**
     * 拉黑人Id
     */
    @Column(name = "user_id")
    private Long userId;
    /**
     * 被拉黑人Id
     */
    @Column(name = "black_user_id")
    private Long BlackUserId;

    @Column(name = "create_time")
    private Long createTime;

    @Column(name = "update_time")
    private Long updateTime;

    @Column(name = "status")
    private Integer status;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getBlackUserId() {
        return BlackUserId;
    }

    public void setBlackUserId(Long blackUserId) {
        BlackUserId = blackUserId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}

